body {
    background: url("../img/huanghun.jpg")
}

.login {
    width: 50rem;
    height: 33.3333rem;
    margin: 8.3333rem auto;
    background-color: rgba(0, 0, 0, 0.2);
}

h1 {
    padding-top: 8.3333rem;
    color: white;
    font-size: 2.5rem;
    text-align: center;
}

div input {
    display: block;
    margin: 1.6667rem auto;
}

input::placeholder {
    color: black;
}

.password {
    position: relative;
}

.password span {
    position: absolute;
    cursor: pointer;
    top: .3333rem;
    left: 69%;
}

.login input:not(:last-of-type),
.password input {
    border: none;
    background: none;
    width: 20rem;
    border-bottom: .0833rem solid;
    padding: .4167rem .8333rem;
}

.password>input {
    margin-bottom: .1667rem;
}

.login>input:last-of-type {
    cursor: pointer;
    margin-top: 1.25rem;
    width: 6.6667rem;
    height: 1.6667rem;
    font-size: 1rem;
    line-height: 1.6667rem;
    background: rgba(0, 0, 0, 0.2);
    border: none;
}

/* 立即注册和忘记密码渲染 */
.small-icon {
    width: 20rem;
    height: 1.5rem;
    margin: 0 auto;
    padding: 0 .4167rem;
}

.small-icon span>a {
    font-size: .8333rem;
    line-height: 1.5rem;
}

.icon-left {
    float: left;
}

.icon-right {
    float: right;
}